package io.github.libkodi.basic_gateway.websocket;

import io.vertx.core.buffer.Buffer;
import io.vertx.core.http.ServerWebSocket;

public interface WebSocket {
	public void open(ServerWebSocket conn);
	public void message(ServerWebSocket conn, Buffer buffer);
	public void error(ServerWebSocket conn, Throwable err);
	public void close(ServerWebSocket conn);
}
